POV-Ray : Newsgroups : povray.binaries.images : SCC4 wips : Re: SCC4 wips Server Time
6 Aug 2024 19:33:14 EDT (-0400)
  Re: SCC4 wips  
From: Tek
Date: 5 Oct 2006 13:31:26
Message: <4525416e@news.povray.org>
A couple of improved versions of the grass, both within the 256-byte limit. 
Not sure which version I'm going to submit. Opinions?

-- 
Tek
http://evilsuperbrain.com


"Tek" <tek### [at] evilsuperbraincom> wrote in message 
news:4524704a@news.povray.org...
> Hi folks,
>
> I've been off the groups for a few months on account of my PC being on a
> boat crossing the atlantic (moved back home to England). But anyway, 
> here's
> some stuff I've been working on this week for Paul Bourke's next short 
> code
> contest (as mentioned on pov.general and his website:
> http://local.wasp.uwa.edu.au/~pbourke/rendering/scc4/ )
>
> The dawn scene is basically finished, and it's entire source code is:
>
> #local
>
p=function{pattern{granite}}isosurface{function{y-.3+p(x/10,9,z/10)}contained_by{box{-9,9}}}light_source{<3,.5,8>,1}media{scattering{2,<3,2,1>/9}emission<.3,.4,1>density{function{.1/(y+1)}}}sphere{0,1pigment{granite
> poly_wave 4}scale-7*y+9hollow}
>
>
> The grassy scene's currently a bit too long, and has a boring sky:
>
> light_source{99,.8-z/2}background{<.7,.8,.9>}#macro
> R(V)vturbulence(2,.5,6,V)#end#local i=0;#while(i<16384)#local
> p=mod(i,128)*(z-x)+(z+x)*i/128;#local
> p=p+R(p/70)*20;cone{p-5*y,.2,p+R(p/9)*5-3*x/*+2*z*/,0pigment{rgb
> y*2+z}}sphere{p-y*9,4pigment{rgb.9+z}}#local i=i+1;#end
>
> Any suggestions on how I can make those a few bytes shorter?
> -- 
> Tek
> http://evilsuperbrain.com
>
>
>


Post a reply to this message


Attachments:
Download 'cornfield storm.jpg' (157 KB) Download 'dunes.jpg' (140 KB)

Preview of image 'cornfield storm.jpg'
cornfield storm.jpg

Preview of image 'dunes.jpg'
dunes.jpg


 

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.